<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/5/13
  Time: 20:02
  To change this template use File | Settings | File Templates.
--%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>
  <head>
    <title>Title</title>
  </head>
  <body>
<center> <h1 style="font-size: 80px;border-width:5px;color: rgb(<%=java.lang.Math.round(java.lang.Math.random()*240)%>,<%=java.lang.Math.round(java.lang.Math.random()*240)%>,<%=java.lang.Math.round(java.lang.Math.random()*240)%>);">信息统计可视化</h1></center>
<c:forEach items="${pageResult.rows}" var="user">
    ${user.nature}榜单中书的个数:
    <button id="one"style="height:30px;width: ${user.num*10};background-color: rgb(<%=java.lang.Math.round(java.lang.Math.random()*240)%>,<%=java.lang.Math.round(java.lang.Math.random()*240)%>,<%=java.lang.Math.round(java.lang.Math.random()*240)%>);" onload="javascript:begin1();"></button>   ${user.num}人<br/>

<br/>
</c:forEach>

  </body>

</html>
